package com.cxso.example.request.wlpt;

import com.cxso.example.domain.wlpt.waybill.ApiWaybillTrajectoryDomain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import java.util.List;


@Setter
@Getter
@Schema(description = "运单轨迹")
public class ApiConsignorWaybillTrajectoryReq extends ApiBaseReq {

    @Schema(description = "运单ID（运单ID和运单编号二选一必填）")
    private String id;

    @Schema(description = "运单编号（运单ID和运单编号二选一必填）")
    private String billCode;

    @Schema(description = "运单轨迹信息")
    @Valid
    private List<ApiWaybillTrajectoryDomain> waybillTrajectoryDomains;

}
